package org.example.test11.config;

import org.example.test11.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: luyg
 * @Date: 2024/07/17/19:20
 * @Description:
 */
@Configuration
@ComponentScan(basePackages = "org.example")
public class AppConfig {

	@Bean("Dog")
	public Dog Dog(){
		return new Dog();
	}
}
